WP_Defender\Component\Security_Tweaks\Servers\Apache A

Total Complexity 75
Dependencies 2
Dependents 0
Total lines 567
Lines of code 374
Logical lines of code 208
Comment lines 101
Methods 17
Properties 4

Methods 17

Method Rating Maintainability Complexity Lines of code
process()
A
40 13 60
get_version()
A
49 11 31
revert()
A
44 9 45
get_rules_for_instruction()
S
44 5 58
protect_includes_directory()
S
49 5 32
protect_content_directory()
S
51 5 26
unprotect_content_directory()
S
57 4 16
generate_htaccess_rule()
S
59 4 16
get_rules()
S
51 2 32
unprotect_includes_directory()
S
59 3 13
cleanup_old_rules()
S
63 3 11
check()
S
62 3 11
protect_uploads_directory()
S
70 2 6
unprotect_upload_directory()
S
70 2 6
set_new_htaccess_config()
S
74 2 5
get_new_htaccess_config()
S
82 1 3
__construct()
S
81 1 3